<template>
  <basic-render :data="data">
    <el-{{ name }} v-model="models[options.model]" />
  </basic-render>
</template>
<script>
import BasicRender from './basic-render'
export default {
  name: '{{ properCase name }}Render',
  components: { BasicRender },
  props: {
    data: {
      type: Object,
      require: true,
      default: () => {}
    }
  },
  computed: {
    models() { return this.data.models },
    options() { return this.data.config.options }
  }
}
</script>
